Skip to content

MIDI/Instrument improvements + Misc - #1825

Merged
mscuthbert merged 2 commits into
masterfrom
more-deprecation-remove
Oct 7, 2025
Merged

MIDI/Instrument improvements + Misc#1825
mscuthbert merged 2 commits into
masterfrom
more-deprecation-remove

Conversation

@mscuthbert

Copy link
Copy Markdown
Member

Add MIDIEvent.isChannelEvent() to distinguish MIDIEvents where channels matter from ones which don't (since None is no longer an acceptable channel). Update getChannels() to use it

Add midiEventToInstrument (singular event) and deprecate midiEventsToInstrument -- do it right or not at all.

Remove channel on midi.translate.getEndEvents

Use Python 3.11 error messages

Remove deprecated MeterSequence.flat -> for .flatten() Remove deprecated musicxml/testFiles.get(contentRequest) -- never used.

Add better docs to music21/prebase

make roman. _postFigureFromChordAndKey private as promised. Leave figureTuples as public.

remove RomanException -- just use RomanNumeralException

clean up docs for v3.11

Add MIDIEvent.isChannelEvent() to distinguish MIDIEvents where channels matter from ones which don't (since None is no longer an acceptable channel).  Update getChannels() to use it

Add midiEventToInstrument (singular event) and deprecate midiEventsToInstrument -- do it right or not at all.

Remove channel on midi.translate.getEndEvents

Use Python 3.11 error messages

Remove deprecated MeterSequence.flat -> for .flatten()
Remove deprecated musicxml/testFiles.get(contentRequest) -- never used.

Add better docs to music21/prebase

make roman. _postFigureFromChordAndKey private as promised.  Leave figureTuples as public.

remove RomanException -- just use RomanNumeralException

clean up docs for v3.11
@coveralls

coveralls commented Oct 7, 2025

Copy link
Copy Markdown

Coverage Status

coverage: 93.07% (+0.001%) from 93.069%
when pulling a5d263c on more-deprecation-remove
into 26a40a4 on master.

@mscuthbert
mscuthbert merged commit 6b3e8cb into master Oct 7, 2025
7 checks passed
@mscuthbert
mscuthbert deleted the more-deprecation-remove branch October 7, 2025 22:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants